<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>购物车修改</title>
</head>
<body>
<div>
	价格：${clothing.price }
	<br/>
	售价：${clothing.saleprice }
	<br/>
	尺寸：${clothing.size }
	<br/>
	颜色：${clothing.color }
	<br/>
	数量：<form action="<c:url value='/BuycarAction?oper=update&id=${clothing.id }'/>" method="post">
		<input type="text" name="amount" value="${clothing.amount }"/>
		<input type="submit" value="确认修改"/>
	</form>
	<c:choose>
		<c:when test="${empty clothing.picture }">
			<br />	图片：<img  id="photo" name="imgPath" src="images/1.jpg" width="300" height="200">
		</c:when>
		<c:otherwise>
		图片：<img id="photo" name="imgPath" src="<c:url value="upload/${clothing.picture}"/>" width="300" height="200">
		</c:otherwise>
	</c:choose>
</div>

</body>
</html>